//
//  GHRechargeRecordModel.m
//  GodHorses
//
//  Created by Mac on 2017/11/22.
//  Copyright © 2017年 stoneobs@icloud.com. All rights reserved.
//

#import "GHRechargeRecordModel.h"

@implementation GHRechargeRecordModel
+ (NSDictionary *)mj_replacedKeyFromPropertyName{
    return @{@"recordID":@"id"};
}
- (NSString *)statusString{
    NSString * str = @"" ;
    switch (self.status) {
        case 1:
            str = @"审核中";
            break;
        case 2:
            str = @"充值成功";
            break;
        case 3:
            str = @"充值失败";
            break;
        default:
            break;
    }
    return str;
}
- (NSString *)typeString{
    NSString * str = @"" ;
    switch (self.type) {
        case 1:
            str = @"线上充值";
            break;
        case 2:
            str = @"线下充值";
            break;
        default:
            break;
    }
    return str;
}
@end
